home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-03-09 | 1.6 KB | 36 lines | [TEXT/GEOL] |
- Item 7032615 7-March-90 05:55PST
-
- From: D2022 Strata, Gary Bringhurst,PRT
-
- To: MACAPP.TECH$ MacApp Technical
-
- Sub: Re: Guerilla Compactor
-
- I don't really think a background heap compactor addresses the real problem,
- which is that the Macintosh memory manager gets claustrophobic when surrounded
- by a large number of objects. Spreading the pain won't help in most of the
- situations I've encountered. We simply need a better memory management scheme.
- The Object Pascal team ought to consider choosing something nice so that we can
- have compiler support for it.
-
- Meyer's book suggests that class methods for storage management of class
- instances might be feasible, and he's right. It works quite nicely under the
- right circumstances, and allows implementation of trivial caching schemes that
- give a pretty good performance boost. But it also suffers from the same
- disease that the Fields methods have, which is that it requires far too much
- programmer involvement in a really gruntly task.
-
- Our group has implemented a memory manager that coexists with the Mac memory
- manager and provides a much accelerated allocator and deallocator, but it
- requires mucking around with the code in UObject to install it, since we
- haven't been given any low-level access hooks for this kind of thing. May we
- have them, please? Until we have low-level access hooks I don't think Guerilla
- code for this kind of thing will be very clean, or maintainable.
-
- Good luck Christopher,
-
- Gary L. Bringhurst
- Strata Inc.
- D2022
-
-